package com.chennan.workdir.invoiceapplication.api.rest.controller.transform;

import com.chennan.workdir.invoiceapplication.api.rest.controller.dto.InvoiceApplicationDTO;
import com.chennan.workdir.invoiceapplication.api.rest.controller.dto.InvoiceApplicationListConditionDTO;
import com.chennan.workdir.invoiceapplication.domain.model.InvoiceApplication;
import com.chennan.workdir.invoiceapplication.domain.model.InvoiceApplicationListCondition;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author chennan
 * @createTime 2021年07月26日 17:25:00
 */
@Mapper(componentModel = "spring")
public interface FinanceInvoiceApplicationDTOModelConverter {

    InvoiceApplicationListCondition toModel(InvoiceApplicationListConditionDTO conditionDTO);

    InvoiceApplicationDTO toDTO(InvoiceApplication invoiceApplications);

}
